package com.longma.server.pojo.dto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class AlarmSettingAddDTO extends AlarmSettingDTO{
    @ApiModelProperty(value = "报警参数名称")
    @NotBlank(message = "报警参数名称不能为空")
    private String name;

    @ApiModelProperty(value = "云仓编号")
    @NotNull(message = "云仓编码不能为空")
    private Integer yuncangId;
}
